TARGET = $(LIB)liberror.a
DEBUG_TARGET = $(LIB)libdebug_error.a
UT_TARGET = $(LIB)libut_error.a

#All
.PHONY: all
all: $(TARGET)
$(TARGET): $(TARGET)(Error.o)
Error.o: Error.cpp Error.h
	$(CXXFLAGS) -c Error.cpp 

#Debug
.PHONY: debug
debug: $(DEBUG_TARGET)
$(DEBUG_TARGET): $(DEBUG_TARGET)(debug_Error.o)
debug_Error.o: Error.cpp Error.h
	$(CXXFLAGS) -c $(DEBUG_FLAGS) -o debug_Error.o Error.cpp 

#Unit Test

#Clean
.PHONY: clean
clean:
	-rm *.o $(TARGET) $(DEBUG_TARGET) $(UT_TARGET)
